package com.the4man.cnbdw.service.impl;

import com.the4man.cnbdw.dao.EmployeeRoomHistoryMapper;
import com.the4man.cnbdw.service.AbstractService;
import com.the4man.cnbdw.service.EmployeeRoomHistoryService;
import com.the4man.framework.model.EmployeeRoomHistory;
import org.springframework.stereotype.Service;

/**
 * Created by lenovo on 2017/12/12.
 */
@Service("employeeRoomHistoryService")
public class EmployeeRoomHistoryServiceImpl extends AbstractService<EmployeeRoomHistory> implements EmployeeRoomHistoryService {
    EmployeeRoomHistoryMapper employeeRoomHistoryMapper;

    public EmployeeRoomHistoryServiceImpl() {
    }

    public EmployeeRoomHistory selectByBedId(String nowBedId) {
        return this.employeeRoomHistoryMapper.selectByBedId(nowBedId);
    }
}